﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;

/*
 * NOTE TO ARIANA: Your object needs to read a random portion of the read file, and return the questions,
 * along with a method to return weither the selected answer is true
 * this will be used by game control aka YOUR GOD.
 * 
 * 
 */

namespace HuntTheWumpus
{

	class Trivia
	{
		private string question;
		private string answer1;
		private string answer2;
		private string answer3;
		private string answer4;
		Boolean correctQuestion;
		private string[,] Questions = new String[100,4] ;
		public void readfile ()
		{
			String filename = "TrivaQs.txt";
			TextReader tr = new StreamReader(filename);
			String input = tr.ReadLine();

			int Qnumber = 0;

			while (input != null) 
			{
				String[] QsandAs = input.Split('/');
				for (int j = 0; j < 5; j++) 
				{
					Questions[Qnumber, j] = QsandAs[j];

				}
				Qnumber++;
				input = tr.ReadLine();
			}


		}
		
	}
}


